<?php

namespace cccmvc;

class Response
{
    public function setStatusCode($code)
    {
        http_response_code($code);
    }

    public function redirect($url)
    {
        header(sprintf("Location: %s", $url));
    }
}